package com.jackeys.piaems.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName: CategoryDto
 * @Description: 类型传输类
 * @Author: Jackeys
 * @Date: 2021-06-25 11:05
 * @Version: 1.0
 */
@Data
public class CategoryDto implements Serializable {
    /**
     * id
     */
    private Long id;
    /**
     * 类别名称
     */
    private String name;
    public CategoryDto(){}

    public CategoryDto(Long id,String name){
        this.id=id;
        this.name=name;
    }

}
